export function queryLogs() {
    return new Promise((resolve) => {
        axios.post('/log/personalOPLogs').then(rs => {
            resolve(rs.data);
        });
    })
}

export function queryAllLogs() {
    return new Promise((resolve) => {
        axios.post('/log/allLogs').then(rs => {
            resolve(rs.data);
        });
    })
}